package com.qf;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author 汤奇
 * @version V1.0
 * @Project BookPro
 * @Package com.qf
 * @Description:
 * @Date 2022/7/8 12:58
 */
@SpringBootApplication
@EnableEurekaClient
//开启config服务器
@EnableConfigServer
//加载过滤器,过滤码云中无用的配置
@ServletComponentScan("com.qf.filter")
public class ConfigApplication {
    public static void main(String[] args) {

        SpringApplication.run(ConfigApplication.class,args);
    }
}
